package com.zy.ioc.pro1.bean;

import org.springframework.stereotype.Component;

/**
 * @program: mavenTest153
 * @description:
 * @author: zy
 * @create: 2025-07-12 15:32
 */
@Component    //将这个类交给spring容器管理 IOC      <bean id="bankOracleDao" class="com.zy.pro1.bean.BankOracleDao"/>
public class BankOracleDao implements BankDao{
    @Override
    public void deposite() {
        System.out.println("oracle的bank存款方法");
    }

    @Override
    public void withdraw() {
        System.out.println("oracle的bank取    款方法");
    }
}
